home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / utility / dpbuddya.lha / BuddySystem / Text / Ranges < prev    next >
Encoding:
Text File  |  1980-11-08  |  8.0 KB  |  156 lines

  1.                             Ranges (Color Menu)
  2.  
  3. Color ranges are used to create smooth gradients for fill patterns, for
  4. color cycling effects, or for affecting the various paint Modes (i.e.  Shade,
  5. Blend or Cycle).  Range creation and editing is done through the Range
  6. requester (CTRL r):
  7.  
  8.      SEE -> `RangeReq.pic`
  9.  
  10.                DEMONSTRATION AVAILABLE ->    `Ranges.sdemo`
  11.  
  12. Range Selection
  13.  
  14. DPaint IV, allows for up to 8 independently defined ranges. The slider
  15. gadget at the upper left corner of the Range requester lets you choose
  16. which range to work with. Simply drag the slider using the left mouse
  17. button to change the current range. The current number is displayed to the
  18. right of the slider.
  19.  
  20. Range Creation
  21.  
  22. The colors defined in the current palette (SEE -> `Palette`) are displayed
  23. in a row towards the bottom of the requester. Up to 32 colors are visible
  24. at a time. You can select other banks of colors using the arrow buttons at
  25. the right end of the color row. At the top right corner of the requester is
  26. the foreground/background color indicator. Since the paint screen is still
  27. active and usable while the range requester is displayed, the color row and
  28. color indicator take the place of using the toolbox area.
  29.  
  30. Towards the top center area of the requester is a segmented line.  This is
  31. the range bar where you place colors to define a range.  The line has 32
  32. segments which represent positions for defining up to 32 colors in a range.
  33.  
  34. To define a range, simple click on a color in the color row with the left
  35. button.  A "color bead" will become attached to your pointer.  At this
  36. point you can move to the range bar and place it in any of the available
  37. positions by clicking on the line with the left button.  The color bead
  38. will then become detached from your pointer.  Now you can continue to add
  39. more colors, in any order or spacing, by repeating the procedure.
  40.  
  41. As color beads are placed on the range bar, those color beads that are
  42. actually found in your available screen palette are marked with a black dot
  43. at the bottom of the color bead. In HAM mode (See `HAM Mode`), 
  44.  
  45. The SHOW button is used to display the gradient created by your arrangement
  46. of colors. The box below the range bar displays what the gradient looks
  47. like in HAM (4096 Color) mode. The gradient is always displayed using HAM
  48. in this box even if you are only working on screen with say only 16 colors.
  49. If your colors on the range are separated by empty slots, DPaint
  50. automatically displays additional colors in the gradient box when you click
  51. on SHOW.  This lets you see any intermediate colors that help make the
  52. gradient smoother.  If you are already working in HAM mode, the gradient
  53. that is shown will be used during any gradient fill operations 
  54. (SEE -> `Fill`). However, if you are working in a non-HAM mode, say with
  55. only 16 colors, then a window will appear above the Range requester to
  56. display the gradient that is possible with the colors in your palette.
  57. Therefore you may not be able to get as smooth a gradient as you want
  58. because you may not have enough actual colors to create it! Clicking on
  59. SHOW a second time clears the gradient box.
  60.  
  61. As we touched on previously, the spacing between colors on the range bar
  62. affects the gradient.  Simply increasing the spaces between two colors on
  63. the range bar, causes DPaint to calculate more gradient colors. Again the
  64. amount of available colors in your palette will affect how smooth the
  65. gradient can be; In HAM mode DPaint can always create the smoothest
  66. possible gradient. 
  67.  
  68. To smooth the color transitions within gradients, DPaint uses a process
  69. called "Dithering". Dithering approximates the blending of colors by
  70. using closely spaced pixels to represent saturated color and increasingly
  71. spaced pixels for lower saturation. This way a color can appear to blend
  72. more smoothly by dissolving into another color. There are two types of
  73. dithering that DPaint uses. The default is "Ordered Dithering" where the
  74. dithered dots take on a regular, even pattern. By clicking & activating the
  75. Random button, "Random Dithering" is enabled. Random Dithering, as the name
  76. implies causes the dithered dot pattern to be more irregular - more grainy.
  77. This graininess can be adjusted with the Dithering slider. The Dithering
  78. slider can adjust from a low setting where definite color bands are
  79. visible, to a high, very grainy setting. By default Pattern Dithering is
  80. used to create a regular patterned blend of colors.
  81.  
  82.      NOTE: the Dithering slider is only functional in the Random mode.
  83.            Also, the SHOW gradient area in the Range requester always
  84.            displays the smoothest possible HAM gradient. The effect of the
  85.            Dithering slider is not displayed in the SHOW gradient area.
  86.            For non-HAM modes, an alternate display window is used.
  87.            Otherwise, you can see the effect of the Dithering slider from
  88.            within the Fill Type requester.
  89.  
  90. The REVERSE button reverses the order of the colors placed on the range
  91. line. This is useful for changing the direction of the gradient or the
  92. direction for color cycling. The keyboard equivalent, Alt-R lets you
  93. reverse a current range while you are painting.
  94.  
  95. CLEAR removes any colors from the range bar, clearing the gradient and
  96. range definition.
  97.  
  98. UNDO takes back the last action performed in the Range requester.
  99.  
  100. REVERT resets the range requester to the settings that were present the
  101. last time it was called up.
  102.  
  103. COLOR CYCLING is a very useful function primarily used for animation
  104. effects. Color cycling shifts the positions of colors in a range, in
  105. sequential order.
  106.  
  107. During color cycling, each color moves into the position of the next
  108. neighboring color in the range (actually, the RGB values of a range color
  109. are applied to the next neighboring in the range, but to keep things simple
  110. we'll assume that colors are actually changing position).  This occurs
  111. according to the speed set by the Cycle Rate slider. When a color gets
  112. to the end of a range, it starts over at the beginning again. Hence, a
  113. continuous cycling process. Color cycling is activated by the Cycle menu
  114. item in the Color menu or by pressing the TAB key.
  115.  
  116. There are a few important things to remember about color cycling:
  117.  
  118.      1.   Only the colors that actually exist on the range bar will be
  119.           involved during color cycling.
  120.  
  121.           Even though the colors you place on the range bar may generate a
  122.           gradient that appears to have several colors, only those areas of
  123.           the gradient which match a color on the range bar will be part
  124.           of a color cycle - only those colors will cycle.
  125.  
  126.      2.   The spacing of colors placed on the range bar will affect the
  127.           way colors cycle.
  128.  
  129.           When range colors are placed immediately next to each other,
  130.           the colors will simply cycle through each position. However,
  131.           when space is increased between colors on the range bar, an
  132.           interesting thing occurs: a color separated by spaces will
  133.           cycle through any intermediate colors in order to get to the 
  134.           next color on the range. In other words, if you place a red
  135.           color on the range bar, immediately neighbored by a blue,
  136.           the colors will simply cycle between red and blue. However, 
  137.           if you leave a few spaces between the red and blue, then the
  138.           red will cycle through any intermediate shades (such as
  139.           purples, if available) before becoming blue.
  140.           
  141.      3.   A color does not have to exist in your immediate palette. 
  142.           Even in non-HAM modes, the palette provides access to the HAM
  143.           color spectrum, you can access colors that are not in your
  144.           immediate screen palette.  This is useful for creating flashing
  145.           or glowing effects without having to use up all your actual
  146.           screen colors.
  147.      
  148.      4.   In HAM mode, only the first 16 colors are available for color
  149.           cycling. At least one of the first 16 colors must exist on 
  150.           the range bar to make cycling possible. Additionally only those
  151.           areas of the screen painted using a color out of the 16 can
  152.           cycle. 
  153.  
  154.  
  155.  
  156.